﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace FigureDraw
{
    public class MoveSymbolActivity : MoveSymbol
    {
        public MoveSymbolActivity(StorageDevice sd)
            : base(sd)
        {
            this.strInfor = "";
        }

        public MoveSymbolActivity(StorageDevice sd, Infor infor)
            : base(sd, infor)
        {
            
        }

        public override void DrawToDevice(Form form)
        {
            this.R = 255;
            this.G = 0;
            this.B = 0;
            this.LineWidth = 5;
            this.KhoiTaoTruocKhiVe();

            this.StorageDevice.drawArrow(this.BeginPoint.X, this.BeginPoint.Y, this.EndPoint.X, this.EndPoint.Y);
        }
    }
}
